package com.espirit.eap.sa;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;

@Entity
public class PageFieldPermission extends FieldPermission {

	private static final long serialVersionUID = 1427365603489754636L;
	
	private UserTemplatePrivilege userTemplatePrivilege;

	@ManyToOne(targetEntity=UserTemplatePrivilege.class,fetch=FetchType.LAZY)
	public UserTemplatePrivilege getUserTemplatePrivilege() {
		return userTemplatePrivilege;
	}
	public void setUserTemplatePrivilege(UserTemplatePrivilege userTemplatePrivilege) {
		this.userTemplatePrivilege = userTemplatePrivilege;
	}
}
